var demo = {}
demo.loadData = function () {
    $.ajax({
       url:'/Hello/hello',
       type:'post',
       data:{},
       success:function(result){
           $("#content").append(result);
       },
        error:function(){
           
        },
        beforeSend:function () {
            
        },
        complete:function () {
            demo.init();
        }
    });
}

demo.init = function () {
    demo.clickBtn();
}

demo.clickBtn = function(){
    $("#find").on('tap',function(){
        console.log(123456);
        demo.loadData();
    });
}

window.onload = function(){
    demo.loadData();
    demo.init();
}